package com.lvmama.pangolin.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lvmama.pangolin.entity.City_Model;

public interface CityService {
	/**  
	* @Title：CityService.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年2月14日下午1:27:43  
	*/
	public int insertCity(List<City_Model> cityList) throws Exception;
	
	/**
	 * 
	* @Title: queryCityByCon 
	* @Description: TODO按条件查询城市信息
	* @param @param city
	* @param @return    设定文件 
	* @return List<City_Model>    返回类型 
	* @throws
	 */
	public List<City_Model> queryCityByCon(City_Model city);
	
	/**
	 * 
	* @Title: queryCityByCareProduct 
	* @Description: 获取所有关心产品所在的城市列表
	* @param @param city
	* @param @return    设定文件 
	* @return List<City_Model>    返回类型 
	* @throws
	 */
	public List<City_Model> queryCityByCareProduct(City_Model city);
	/**
	 * 根据cityID返回城市对象
	 * @param cityId
	 * @return
	 */
	public City_Model queryCityById(String cityId);
	
	public List<String> queryIdByName(String cityName);
	
	public List<City_Model> queryCityByCareProductBusiness(@Param("business_code") String businessCode);
	
	public List<City_Model> getAllCity();
}
